package cn.tedu.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotEmpty;
import java.util.Set;


@FeignClient(name = "easy-id",contextId = "easyIdClient")
public interface EasyIdClient {
    @GetMapping("/segment/ids/next_id")
    String getNextId(@RequestParam("businessType") String businessType);
}
